// 元组类型
var pos = [34.815397, 113.897001];
var position = [34.815397, 113.897001];
var ag = 22;
//断言类型
var box0 = document.getElementById("box");
var box = document.getElementById("box");
console.log(box);
//
function changeDirection (dire) {
    console.log(dire);
}
changeDirection("Down");
var DirectionEnum;
(function (DirectionEnum) {
    DirectionEnum[DirectionEnum["Up"] = 0] = "Up";
    DirectionEnum[DirectionEnum["Down"] = 1] = "Down";
    DirectionEnum[DirectionEnum["Left"] = 2] = "Left";
    DirectionEnum[DirectionEnum["Right"] = 3] = "Right";
})(DirectionEnum || (DirectionEnum = {}));
function changeDirection2 (dire) {
    console.log(dire);
}
console.log(DirectionEnum.Down);
changeDirection2(DirectionEnum.Down);

